package com.zys.principles.demo7.emp2;

public class Test {
    public static void main(String[] args) {
    	ElectricCar electricCar = new ElectricCar();
    	White color = new White();
    	electricCar.setColor(color);
    	electricCar.getColor().colorKind();//白色
    	electricCar.run();//电动汽车
	}
}
